package com.lyf.task.util;

import java.text.SimpleDateFormat;
import java.util.Date;

public class DateFormatUtil {
	
	public static String dateformat(Date date)
	{
		SimpleDateFormat sdf=new SimpleDateFormat("yyyyMMdd");
		String result = sdf.format(date)+"";
		return result;
	}

}
